﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AllApplyReport.aspx.cs" Inherits="BOH.Reports.AllApplyReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>【高评会评审记录】</title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />
    <style>
        body
        {
        	 font-family:宋体;
             
        }
        tr
        {
        	height:23px;
            vertical-align:middle;
        }
        .divPrintShow
        {
	        display:none;
        }
</style>
<style media="print">
    .divPrint
    {
        display: none;
    }
    .divPrintShow
    {
    	display:block;
    }
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <center>
            <div id="PersonalReportTitle">
                <h2>
                    <asp:label ID="labApplyPeriodTitle" runat="server"></asp:label>上海市卫生系列高级专业技术职务任职资格评审学科组评审记录
                    <br />
                </h2>
            </div>
            <div>
                <table cellpadding="0" cellspacing="0" border="0" width="1400px">
                    <tr>
                        <td align="left" style="padding-left:20px;"><h5>学科组名称：<asp:Label ID="labSubjectName" runat="server"></asp:Label></h5></td>
                        <td align="right" style="padding-right:20px;"><h5><asp:Label ID="Passlab" runat="server"></asp:Label>:<asp:Label ID="labPassNumber" runat="server"></asp:Label></td>
                    </tr>
                </table>
            </div>
             <div style="padding: 5px;">
                <asp:GridView ID="GVList" runat="server" AutoGenerateColumns="false" Width="1400px"
                    CssClass="TableReport" AllowPaging="True" PageSize="25" OnRowCreated="GVList_RowCreated">
                    <Columns>
                        <asp:TemplateField HeaderText="学科组编号">
                            <ItemStyle Height="20px" />
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyPrintID")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="单位名称">
                        <ItemStyle HorizontalAlign="Left" />
                            <ItemTemplate>
                                <span>
                                    <%# Eval("UnitGovernName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="姓名">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Apply_Name")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="性别">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Gender")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="出生年月">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Birthday")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="最高学历">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("EducationName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="现任职称">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("CurrentJobRankName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="取得时间">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobDate")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="聘用年限">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobTerm")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报专业">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("SpecialityName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报职称">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobRankName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报类型">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyTypeName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="政治考核">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("PoliticsResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="业务考核">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                       <%-- <asp:TemplateField HeaderText="论文成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ThesisResultS")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="面试成绩">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("InterviewResultS")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>--%>
                        <asp:TemplateField HeaderText="综合评分">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ResultSumS")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="应到人数">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("TotalNumberS").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="实到人数">
                            <ItemTemplate>
                                <span>
                                    <%#ConvertEnpty(Eval("ActualNumberS").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AgreeNumberS").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="不同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("DenyNumberS").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="弃权">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AbstrainNumberS").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="应到人数">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("TotalNumberH").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="实到人数">
                            <ItemTemplate>
                                <span>
                                    <%#ConvertEnpty(Eval("ActualNumberH").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AgreeNumberH").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="不同意">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("DenyNumberH").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="弃权">
                            <ItemTemplate>
                                <span>
                                    <%# ConvertEnpty(Eval("AbstrainNumberH").ToString())%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="备注">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("comment")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
                <br />
                <div class="divPrint">
                    <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="25" AlwaysShow="True"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                        ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                    </webdiyer:AspNetPager>
                </div>
                <div class="divPrintShow">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                            <td align="center">
                                第&nbsp;<asp:Label ID="labCurrentPage" runat="server"></asp:Label>&nbsp;页,共&nbsp;<asp:Label ID="labTotlePage" runat="server"></asp:Label>&nbsp;页，每页显示<asp:Label ID="labRecord" runat="server"></asp:Label>条记录
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="divPrint">
                <asp:Button ID="butExecl" runat="server" onclick="butExecl_Click" Text="导出Excel"/></div>
             </div>
         </center>
    </div>
    </form>
</body>
</html>
